<include file="Public:header" />
</head>
<script type="text/javascript" src="__PUBLIC__/js/styleinfo.js"></script>
<body>
<include file="Public:navigation" />
<table cellpadding="2" cellspacing="1" class="table skin_manager">
    <tr>
        <td width="50" class="list" style="padding:0px; text-align:center;">{:t('styleOK')}</td>
		<td width="100" class="list">{:t('styleImg')}</td>
        <td class="list">{:t('styleInfo')}</td>
        <td width="60" class="list">{:t('styleColor')}</td>
		<td class="list">{:t('styleTool')}</td>
    </tr>
  	<volist name="themeList" id="val1" key="key1">  
    <tr>
    	<!-- 启用 -->
        <td class="list-text"><input name='id' id="sklist_{$key1}" value='' type='radio' <if condition="$val1.openStyle eq 2">checked</if> onclick="enableStyle('{$val1.id}','{$key1}');" /></td>
		<!-- 预览 -->
		<td class="list-text">
			<img src="{$val1.fileUrl}/info/{$val1.viewImg}" width="120" height="120" style="margin:5px; border:1px solid #ddd; padding:3px;" />
		</td>
		<!-- 信息 -->
        <td class="list-text alignleft" style="padding-left:10px;">
			<span style="font-size:14px;">{:t('styleName')}{:t('marks1')}{$val1.name}</span>&nbsp;&nbsp;&nbsp;&nbsp;
			<if condition="$val1.openStyle eq 2">
			<img style="position:relative; top:5px;" src="__PUBLIC__/img/greencheck.png"><b class="color390">{:t('styleIsOk')}</b>
			</if>
			<p style="color:#666;">{:t('styleWord')}{:t('marks1')}{$val1.info}<br/></p>
			<p style="color:#666;">{:t('styleCode')}{:t('marks1')}{$val1.id}<br/></p>
		</td>
		<!-- 风格 -->
		<td class="list-text">
		    <select id="met_skin_css_{$key1}">
				<volist name="themeStyle" id="val2" key="key2">
					<if condition="$key1 eq $key2">
						<volist name="val2" id="val3" arraykey="key3" >
						<option value="{$val3}" <if condition="$val1.selectStyle eq $key3">selected</if>>{$key3}</option>
						</volist>
					</if>
				</volist>
		    </select>
		</td>
		<!-- 操作 -->
		<td class="list-text">
			<a href="" title="{:t('styleSet')}">{:t('styleSet')}</a>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="" onClick="" title="{:t('styleDetele')}">{:t('styleDetele')}</a>
			<div id="styleRoot" style="display:none;">{$val1.fileRoot}</div>
			<div id="styleUrl" style="display:none;">{$val1.fileUrl}</div>
		</td>
    </tr>
    </volist>
    <!-- 分页功能 -->		
    <tr> 
		<td class="page_list" colspan="5">$page_list</td>
    </tr>
</table>
</body>
</html>